using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "PathSetting", menuName = "Super/Create PathSetting")]
public class PathSettingSO : ScriptableObject
{
    private static PathSettingSO ins;
    public static PathSettingSO Ins
    {
        get
        {
            if (ins == null)
            {
                ins = Resources.Load<PathSettingSO>("PathSetting");
            }
            return ins;
        }
    }

    /// <summary>
    /// Excle表格路径相关
    /// </summary>
    [Header("Excle表格路径相关")]
    public string excelDirectory = "Assets/Configuration/Excel";
    public string excelTableSOPath = "Assets/Configuration/ExcelAllSO/{0}Asset.asset";
    public string excelEnumPath = "Assets/Scripts/Box/{0}.cs";
    public string excelScriptPath = "Assets/Scripts/CustomExcelDataClass/{0}.cs";
    

    [Header("多语言路径相关")]
    public string LangsDirectory = "Assets/Text/Langs";
    public string langKeysPath = "Assets/Text/LangKey/Keys.txt";
    public string excelLangKeyPath = "Assets/Text/LangKey/ExcelLangKeys.txt";
    public string customLangKeyPath = "Assets/Text/LangKey/CustomLangKeys.txt";
    

    [Header("默认生成预制体和脚本的路径")]
    public string singleManaerPath = "{0}/TemplateManager.cs";
    public string panelPrefabPath = "Assets/Prefabs/Panel/{0}.prefab";
    public string widgetPrefabPath = "Assets/Prefabs/Widget/{0}.prefab";
    public string panelScriptPath = "Assets/Scripts/UI/Panel/{0}.cs";
    public string widgetScriptPath = "Assets/Scripts/UI/Widget/{0}.cs";
    
}
